/**
 * Author:yuiop
 * Date:2022/3/17 16:59
 */
package com.k8sops.backend.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class DOSModel implements Serializable {
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updatedAt = LocalDateTime.now();
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt = LocalDateTime.now();
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime deletedAt;
}
